<template>
    <div class="nav_contaienr" ref="domRef">
        这是一个导航栏_01{{text}}
    </div>
</template>

<script setup>
import { ref, onMounted, inject } from 'vue';

const props = defineProps({
    text: {
        type: Number || string,
    },
    modelValue: {
        type: Object,
    },
    index: {
        type: Number
    }
})
const domRef = ref(null)
</script>

<style lang="scss" scoped>
.nav_contaienr{
    width: 100%;
    height: 50px;
}
</style>